package cn.edu.nju.oraldefense.dao;

import java.util.List;

import cn.edu.nju.oraldefense.model.Graduate;
import cn.edu.nju.oraldefense.model.Paper;

public interface PaperDao {
	public void save(Paper instance);

	public List findAll();

	public Paper findById(int id);

	public List findByProperty(String propertyName, Object value);
	
	public Paper findByGraduate(Graduate graduate);

	public void update(Paper instance);

	public void delete(Paper instance);
}
